Automattic\Jetpack\Dashboard_Customizations\Base_Admin_Menu B

Total Complexity 95
Dependencies 2
Dependents 1
Total lines 680
Lines of code 339
Logical lines of code 187
Comment lines 247
Methods 26
Properties 3

Methods 26

Method Rating Maintainability Complexity Lines of code
update_menu()
A
45 14 41
update_submenus()
A
48 10 34
override_svg_icons()
A
44 9 45
hide_parent_of_hidden_submenus()
S
55 7 18
handle_preferred_view()
S
53 6 22
enqueue_scripts()
S
50 4 32
get_current_screen()
S
59 5 14
__construct()
S
57 4 14
hide_submenu_page()
S
60 4 14
sort_hidden_submenus()
S
62 4 12
get_preferred_view()
S
64 4 10
get_submenu_item_count()
S
68 4 7
set_menu_item()
S
61 3 11
get_instance()
S
69 2 7
get_preferred_views()
S
70 2 7
is_item_visible()
S
76 2 3
hide_submenu_element()
S
71 2 5
admin_body_class()
S
80 1 3
should_link_to_wp_admin()
S
80 1 3
is_rtl()
S
81 1 3
set_preferred_view()
S
72 1 5
has_visible_items()
S
69 1 7
set_site_icon_inline_styles()
S
72 1 9
configure_colors_for_rtl_stylesheets()
S
79 1 3
add_admin_menu_separator()
S
65 1 10
reregister_menu_items()
S
100 1 0